<?php
/**
 * Criado em : 22/10/2012, 10:26:42
 * Autor     : info
 * @author Lemoel Marques Vieira <lemoel@gmail.com>
 */
?>
<div id="cadastrar">
    <h1>Cadastrar Novo Setor</h1>
    <form action="" method="post" id="f_cadSetores">
        <label>
            <span class="titulo">Nome do Setor:</span>
            <input type="text" name="setor"/>
        </label>
        
        <label>
            <span class="titulo">Ramal:</span>
            <input type="text" name="ramal"/>
        </label>
        <input type="button" value="SALVAR" id="btn_salvar" class="btn"/>
    </form>
</div>
<script type="text/javascript" src="<?= PATH_JS ?>setor.js"></script>
<script type="text/javascript">
$('#btn_salvar').click(function(){
    gravarSetor();
});
</script>